﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MemberIndex.aspx.cs" Inherits="Manager_MemberIndex" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .x-grid3-row-body .expander
        {
            padding: 5px;
        }
        .x-grid3-row-body .expander p
        {
            padding: 5px;
        }
        .x-grid3-row-body .expander strong
        {
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="TabStrip1" />
        <ext:TabStrip ID="TabStrip1" runat="server" ShowBorder="true" TabPosition="Top" EnableTabCloseMenu="false" AutoScroll="true"
            EnableTitleBackgroundColor="true" ActiveTabIndex="0" AutoPostBack="true" OnTabIndexChanged="TabStrip1_TabIndexChanged">
            <Tabs>
                <ext:Tab ID="tbMemberInfo" runat="server" Title="用户基本信息" BodyPadding="5">
                    <Items>
                        <ext:SimpleForm ID="sfObject1" runat="server" BodyPadding="5" ShowHeader="false"
                            LabelAlign="right" LabelWidth="120px" ShowBorder="false">
                            <Items>
                                <ext:Label ID="lblUserTitle" runat="server" Label="性别">
                                </ext:Label>
                                <ext:Label ID="lblUserName" runat="server" Label="登录名">
                                </ext:Label>
                                <ext:Label ID="lblTrueName" runat="server" Label="真实姓名">
                                </ext:Label>
                                <ext:Label ID="lblTel" runat="server" Label="联系电话"></ext:Label>
                                <ext:Label ID="lblEmail" runat="server" Label="电子邮件"></ext:Label>
                                <ext:Label ID="lblAddress" runat="server" Label="联系地址"></ext:Label>
                                <ext:Label ID="lblRegisterDate" runat="server" Label="注册时间">
                                </ext:Label>
                                <ext:Label ID="lblRegisterIP" runat="server" Label="注册IP">
                                </ext:Label>
                                <ext:Label ID="lblLastLoginDate" runat="server" Label="最近访问时间">
                                </ext:Label>
                                <ext:Label ID="lblLastLoginIP" runat="server" Label="最近访问IP">
                                </ext:Label>
                                <ext:Label ID="lblLoginTimes" runat="server" Label="登录次数">
                                </ext:Label>
                                
                                <ext:Label ID="lblBaoMingCounts" runat="server" Label="幼儿入园报名记录">
                                </ext:Label>
                                <ext:Label ID="lblYiGongBaoMingCounts" runat="server" Label="义工报名记录">
                                </ext:Label>
                                <ext:Label ID="lblHomeEventBaoMingCounts" runat="server" Label="家园活动报名记录">
                                </ext:Label>
                                
                            </Items>
                        </ext:SimpleForm>
                    </Items>
                </ext:Tab>                
                <ext:Tab ID="tab1" runat="server" Title="修改密码" BodyPadding="10">
                    <Items>
                        <ext:SimpleForm ID="sfChangePwd" runat="server" BodyPadding="5" ShowHeader="false"
                            LabelAlign="right" LabelWidth="120px" ShowBorder="false" Width="300" Height="100" FooterBarAlign="center">
                            <Items>
                                <ext:TextBox ID="txtNewPassword" runat="server" TextMode="password" Label="新密码" Required="true">
                                </ext:TextBox>
                                <ext:TextBox ID="txtReNewPassword" runat="server" TextMode="password" Label="确认密码"
                                    CompareControl="txtNewPassword" Required="true">
                                </ext:TextBox>
                            </Items>
                            <Toolbars>
                                <ext:Toolbar runat="server" Position="footer">
                                    <Items>
                                        <ext:HiddenField ID="hfMemberID" runat="server">
                                        </ext:HiddenField>
                                        <ext:Button ID="btnChangePwd" runat="server" Icon="accept" Text="确定修改" ValidateForms="sfChangePwd" OnClick="btnChangePwd_Click">
                                        </ext:Button>
                                    </Items>
                                </ext:Toolbar>
                            </Toolbars>
                        </ext:SimpleForm>
                    </Items>
                </ext:Tab>
            </Tabs>
        </ext:TabStrip>
        <ext:Window ID="winForm" runat="server" Hidden="true" Width="800px" EnableMaximize="true"
            EnableResize="true" EnableConfirmOnClose="true" Height="500px" EnableIFrame="true"
            AutoScroll="true">
        </ext:Window>
    </form>
</body>
</html>
